projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
270a17f
)
* lisp/emacs-lisp/bytecomp.el (compile-defun): Add defvars in scope.
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Thu, 29 Oct 2015 13:25:18 +0000
(09:25 -0400)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Thu, 29 Oct 2015 14:31:40 +0000
(10:31 -0400)
lisp/emacs-lisp/bytecomp.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/bytecomp.el
b/lisp/emacs-lisp/bytecomp.el
index d138effcd9d4a85352e95b28ca9b59694ff3f7cc..db200f3c5041cbb3a8782c276874dc8414c3d8dd 100644
(file)
--- a/
lisp/emacs-lisp/bytecomp.el
+++ b/
lisp/emacs-lisp/bytecomp.el
@@
-1901,7
+1901,10
@@
With argument ARG, insert value in current buffer after the form."
(let ((read-with-symbol-positions (current-buffer))
(read-symbol-positions-list nil))
(displaying-byte-compile-warnings
- (byte-compile-sexp (read (current-buffer)))))
+ (byte-compile-sexp
+ (eval-sexp-add-defvars
+ (read (current-buffer))
+ byte-compile-read-position))))
lexical-binding)))
(cond (arg
(message "Compiling from buffer... done.")